<template>
  <div class="hello">
    <button @click="ssss">登录</button>
  </div>
</template>

<script>
  import {login} from '@/api/user'
export default {
  data () {
    return {

    }
  },
  methods:{
    ssss(){
        login().then(res=>{
            console.log(res)
        })
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>
